package com.sunnyweather.android.logic.network;

import com.sunnyweather.android.logic.model.DailyResponse;
import com.sunnyweather.android.logic.model.RealtimeResponse;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;

public interface WeatherService {
    @GET("V2.5/${SunnyWeatherApplication.TOKEN}/{lng}.{lat}/realtime.json")
    Call<RealtimeResponse> getRealtimeWeather(@Path("lng") String lng, @Path("lat")String lat);

    @GET("V2.5/${SunnyWeatherApplication.TOKEN}/{lng}.{lat}/daily.json")
    Call<DailyResponse> getDailyWeather(@Path("lng")String lng, @Path("lat")String lat);

}
